package com.cm.caseManagement.service;

import com.cm.caseManagement.pojo.entity.CmCaseApplyRecord;

import java.util.List;

/**
 * 案件申报记录中间Service接口
 *
 * @author ruoyi
 * @date 2025-10-05
 */
public interface ICmCaseApplyRecordService
{
    /**
     * 查询案件申报记录中间
     *
     * @param id 案件申报记录中间主键
     * @return 案件申报记录中间
     */
    public CmCaseApplyRecord selectCmCaseApplyRecordById(Long id);

    /**
     * 查询案件申报记录中间列表
     *
     * @param cmCaseApplyRecord 案件申报记录中间
     * @return 案件申报记录中间集合
     */
    public List<CmCaseApplyRecord> selectCmCaseApplyRecordList(CmCaseApplyRecord cmCaseApplyRecord);

    /**
     * 新增案件申报记录中间
     *
     * @param cmCaseApplyRecord 案件申报记录中间
     * @return 结果
     */
    public int insertCmCaseApplyRecord(CmCaseApplyRecord cmCaseApplyRecord);

    /**
     * 修改案件申报记录中间
     *
     * @param cmCaseApplyRecord 案件申报记录中间
     * @return 结果
     */
    public int updateCmCaseApplyRecord(CmCaseApplyRecord cmCaseApplyRecord);

    /**
     * 批量删除案件申报记录中间
     *
     * @param ids 需要删除的案件申报记录中间主键集合
     * @return 结果
     */
    public int deleteCmCaseApplyRecordByIds(Long[] ids);

    /**
     * 删除案件申报记录中间信息
     *
     * @param id 案件申报记录中间主键
     * @return 结果
     */
    public int deleteCmCaseApplyRecordById(Long id);
}
